using Web.App.Infrastructure.ApplicationMessages.Contracts;

namespace Web.App.Infrastructure.ApplicationMessages.Implementation
{
    public class DomainMessage : IDomainMessage
    {
        private readonly string context;
        private readonly string action;
        private readonly string messageKey;

        public DomainMessage(string context, string action, string messageKey)
        {
            this.context = context;
            this.action = action;
            this.messageKey = messageKey;

        }

        public string Context
        {
            get { return context; }
        }

        public string Action
        {
            get { return action; }
        }

        public string MessageKey
        {
            get{return messageKey;}
        }

    }
}



